package com.jsy.mydbutilproject;

import android.app.Application;

import com.jsy.mydbutil.MyDataBase;
import com.jsy.mydbutil.MyDbUtil;

public class MyApplication extends Application {


    @Override
    public void onCreate() {
        super.onCreate();
        MyDbUtil.init(new MyDbUtil.DbGetter() {
            @Override
            public MyDataBase getDb() {
                return new TestDb(MyApplication.this);
            }
        });
    }
}
